
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-msnui-tel"></i>
                    <div class="name">手机</div>
                    <div class="fontclass">.icon-msnui-tel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sanjiao1"></i>
                    <div class="name">三角1</div>
                    <div class="fontclass">.icon-sanjiao1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangpin"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.icon-shangpin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenlei"></i>
                    <div class="name">分类</div>
                    <div class="fontclass">.icon-fenlei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode"></i>
                    <div class="name">我的</div>
                    <div class="fontclass">.icon-wode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjia"></i>
                    <div class="name">商家</div>
                    <div class="fontclass">.icon-shangjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-juanchi"></i>
                    <div class="name">卷尺</div>
                    <div class="fontclass">.icon-juanchi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xingmingyonghumingnicheng"></i>
                    <div class="name">姓名 用户名 昵称</div>
                    <div class="fontclass">.icon-xingmingyonghumingnicheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibiaoti1"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-weibiaoti1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconceshi"></i>
                    <div class="name">齿轮</div>
                    <div class="fontclass">.icon-iconceshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-17"></i>
                    <div class="name">类型</div>
                    <div class="fontclass">.icon-17</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-moban"></i>
                    <div class="name">关于我们</div>
                    <div class="fontclass">.icon-moban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-saoerweima"></i>
                    <div class="name">扫二维码</div>
                    <div class="fontclass">.icon-saoerweima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sanjiaotop"></i>
                    <div class="name">三角上</div>
                    <div class="fontclass">.icon-sanjiaotop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tiaoma1"></i>
                    <div class="name">条码1</div>
                    <div class="fontclass">.icon-tiaoma1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shumaxiangji"></i>
                    <div class="name">数码相机</div>
                    <div class="fontclass">.icon-shumaxiangji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenlei1"></i>
                    <div class="name">分类</div>
                    <div class="fontclass">.icon-fenlei1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huahuaduoqingxin"></i>
                    <div class="name">花 花朵 清新</div>
                    <div class="fontclass">.icon-huahuaduoqingxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-triangle-right"></i>
                    <div class="name">三角</div>
                    <div class="fontclass">.icon-triangle-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-triangle-left"></i>
                    <div class="name">三角</div>
                    <div class="fontclass">.icon-triangle-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiazai1"></i>
                    <div class="name">我的客户</div>
                    <div class="fontclass">.icon-xiazai1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangpin1"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.icon-shangpin1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hezuohuoban"></i>
                    <div class="name">合作伙伴</div>
                    <div class="fontclass">.icon-hezuohuoban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontzhizuobiaozhun19"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-iconfontzhizuobiaozhun19</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontzhizuobiaozhun22"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-iconfontzhizuobiaozhun22</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconaddgg"></i>
                    <div class="name">添加规格</div>
                    <div class="fontclass">.icon-iconaddgg</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tupian"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-tupian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangqing"></i>
                    <div class="name">详情</div>
                    <div class="fontclass">.icon-xiangqing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xuanzhong"></i>
                    <div class="name">选中</div>
                    <div class="fontclass">.icon-xuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xuanzhong1"></i>
                    <div class="name">选中</div>
                    <div class="fontclass">.icon-xuanzhong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-saoyisao"></i>
                    <div class="name">扫一扫</div>
                    <div class="fontclass">.icon-saoyisao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wodekehu"></i>
                    <div class="name">我的客户</div>
                    <div class="fontclass">.icon-wodekehu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-saoyisao1"></i>
                    <div class="name">扫一扫</div>
                    <div class="fontclass">.icon-saoyisao1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-richscan_icon"></i>
                    <div class="name">扫一扫</div>
                    <div class="fontclass">.icon-richscan_icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diannao"></i>
                    <div class="name">电脑</div>
                    <div class="fontclass">.icon-diannao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dizhi"></i>
                    <div class="name">地址</div>
                    <div class="fontclass">.icon-dizhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang1"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangqing1"></i>
                    <div class="name">操作-详情</div>
                    <div class="fontclass">.icon-xiangqing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-beizhu"></i>
                    <div class="name">操作-备注</div>
                    <div class="fontclass">.icon-beizhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang2"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangpin2"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.icon-shangpin2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kehu"></i>
                    <div class="name">客户</div>
                    <div class="fontclass">.icon-kehu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bolangneng"></i>
                    <div class="name">波浪能</div>
                    <div class="fontclass">.icon-bolangneng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ecurityCode"></i>
                    <div class="name">验证码</div>
                    <div class="fontclass">.icon-ecurityCode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-remen"></i>
                    <div class="name">热门</div>
                    <div class="fontclass">.icon-remen</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
